package netty.rpc.framework.core.netty.registry;

import java.net.InetSocketAddress;

/**
 * @author guiyiqiao
 * @date 2020/12/10
 */
public interface ServiceDiscovery {
    /**
     * 注册中心查找服务地址接口
     * @param serviceName
     * @return
     */
    InetSocketAddress lookupService(String serviceName);
}
